package com.ny.entity;

public class SensorData {
    private double temperature;
    private int humi;
    private int led;
    public SensorData() {
    }

    public SensorData(double temperature, int humi, int led) {
        this.temperature = temperature;
        this.humi = humi;
        this.led = led;
    }

    public double getTemperature() {
        return temperature;
    }

    public void setTemperature(double temperature) {
        this.temperature = temperature;
    }

    public int getHumi() {
        return humi;
    }

    public void setHumi(int humi) {
        this.humi = humi;
    }

    public int getLed() {
        return led;
    }

    public void setLed(int led) {
        this.led = led;
    }

    @Override
    public String toString() {
        return "SensorData{" +
                "temperature=" + temperature +
                ", humi=" + humi +
                ", led=" + led +
                '}';
    }
}